<%@ Import Namespace="Microsoft.Web.Mvc" %>
<%@ Import Namespace="FlickrPortfolio.Helpers" %>
<%@ Import Namespace="FlickrPortfolio.Models"%>

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Photo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
	<title>James Ottaway Photography</title>
	
	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
    <%--<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" type="text/javascript"></script>--%>
    <%--<script src="../../Scripts/jquery-1.3.1.min.js" type="text/javascript"></script>--%>
    <script src="../../Scripts/jquery.cross-slide.js" type="text/javascript"></script>

    <script type="text/javascript">
        $(document).ready(function() {
            $('div#slideshow').crossSlide({
                fade: 1
            }, [
              {
                  src: 'http://farm4.static.flickr.com/3129/3169561447_88b1af8fa5.jpg',
                  from: 'top right',
                  to: 'bottom left',
                  time: 5
              }, {
                  src: 'http://farm4.static.flickr.com/3199/2830386646_76c181f79b.jpg',
                  from: 'top left',
                  to: 'bottom right',
                  time: 5
              }, {
                  src: 'http://farm3.static.flickr.com/2150/2054697404_ce6764f039.jpg',
                  from: 'top left',
                  to: 'bottom left',
                  time: 5
              }, {
                  src: 'http://farm4.static.flickr.com/3041/2719369156_2d339b9af1.jpg',
                  from: 'top right',
                  to: 'bottom right',
                  time: 5
              }
            ]);
        });
    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Index</h2>
    <div id="slideshow"></div>
</asp:Content>
